package com.jjong.dto;

import java.io.Serializable;
import java.sql.Timestamp;

public class PhotosDto implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 3152889536091714438L;
	
	private int imgseq;
	private String imgname;
	private String imgtitle;
	private String membername;
	private Timestamp updatetime;
	private String image;
	private String imgcontent;
	private String email;
	private int parent;
	private int step;
	private int depth;
	private int ref;
	private String owner;
	
	public PhotosDto() {
		super();
		
	}
	public PhotosDto(int imgseq, String imgname, String imgtitle,
			String membername, Timestamp updatetime, String image,
			String imgcontent, String email, int parent, int step, int depth,
			int ref, String owner) {
		super();
		this.imgseq = imgseq;
		this.imgname = imgname;
		this.imgtitle = imgtitle;
		this.membername = membername;
		this.updatetime = updatetime;
		this.image = image;
		this.imgcontent = imgcontent;
		this.email = email;
		this.parent = parent;
		this.step = step;
		this.depth = depth;
		this.ref = ref;
		this.owner = owner;
	}
	
	public PhotosDto(String imgtitle, String membername, String email, String imgcontent, int parent) {
		this.imgtitle = imgtitle;
		this.membername = membername;
		this.email = email;
		this.imgcontent = imgcontent;
		this.parent = parent;
	}
	
	
	
	
	
	public PhotosDto(String imgtitle, String imgcontent, String image, String owner) {
		this.imgtitle = imgtitle;
		this.imgcontent = imgcontent;
		this.image = image;
		this.owner = owner;
	}
	
//	
//	public PhotosDto(String imgtitle, String membername, String image, String imgcontent) {
//		this.imgtitle = imgtitle;
//		this.membername = membername;
//		this.image = image;
//		this.imgcontent = imgcontent;
//	}
	
	public int getImgseq() {
		return imgseq;
	}
	public void setImgseq(int imgseq) {
		this.imgseq = imgseq;
	}
	public String getImgname() {
		return imgname;
	}
	public void setImgname(String imgname) {
		this.imgname = imgname;
	}
	public String getImgtitle() {
		return imgtitle;
	}
	public void setImgtitle(String imgtitle) {
		this.imgtitle = imgtitle;
	}
	public String getMembername() {
		return membername;
	}
	public void setMembername(String membername) {
		this.membername = membername;
	}
	public Timestamp getUpdatetime() {
		return updatetime;
	}
	public void setUpdatetime(Timestamp updatetime) {
		this.updatetime = updatetime;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getImgcontent() {
		return imgcontent;
	}
	public void setImgcontent(String imgcontent) {
		this.imgcontent = imgcontent;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getParent() {
		return parent;
	}
	public void setParent(int parent) {
		this.parent = parent;
	}
	public int getStep() {
		return step;
	}
	public void setStep(int step) {
		this.step = step;
	}
	public int getDepth() {
		return depth;
	}
	public void setDepth(int depth) {
		this.depth = depth;
	}
	public int getRef() {
		return ref;
	}
	public void setRef(int ref) {
		this.ref = ref;
	}
	public String getOwner() {
		return owner;
	}
	public void setOwner(String owner) {
		this.owner = owner;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "PhotosDto [imgseq=" + imgseq + ", imgname=" + imgname
				+ ", imgtitle=" + imgtitle + ", membername=" + membername
				+ ", updatetime=" + updatetime + ", image=" + image
				+ ", imgcontent=" + imgcontent + ", email=" + email
				+ ", parent=" + parent + ", step=" + step + ", depth=" + depth
				+ ", ref=" + ref + ", owner=" + owner + "]";
	}
	
	
	
	
	
	
	
	

}
